 |
 |
 |
 |
#202672 - 04/02/04 03:57 PM
[6.7] [beta] Games 2.6.1 - Integrated
|
Master Hacker
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
|
Modification Name: Games 2.6.1 - Integrated Author(s): Ian Spence Description: Adds a game gallery to your forum Difference between this and Allen's version:This version is completely integrated with your UBB. Using who's online, you can tell what game a person is playing. This also uses the spider friendly links. Wordletized, so you can change names of games. (ie, Allen's mod had games' names in this format: "rigelianhotshots", whereas mine has "Rigelian Hot Shots" I've added the requested link at the top of forums. 2.6 adds use of cached pages and the PHP acclerator 2.6.1 adds the ability to restrict game access to members who can access certain forums. Also fixes the bug that allowed unregistered users to play games with the accelerator pages even if disabled in the .cgi pages Demo: http://www.alforadmin.com/ubb/ultimatebb.php/games.html Requirements: 6.7+ Credits: Allen and Burak for the original code. LK for the code for sorting. Josh Pettit for ubb.threads version - www.threadsdev.com Download Links: Current Version - Use if upgrading or first install (1.8mb) - only the flash/graphics files Download both zips if this is your first install.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202673 - 04/02/04 04:33 PM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
I type Like navaho
Registered: 03/10/00
Posts: 25580
Loc: Texas
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202681 - 05/09/04 02:11 AM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
Member
Registered: 01/31/03
Posts: 118
|
OK, so I downloaded this one, and I seem to have similiar problems to Hamr. 4 games show up and work just fine (Battleship, Rigelian Hot Shots, Sheepish, and Smashing).
The other 4 games show up like this, $vars_wordlets_games{crash}, $vars_wordlets_games{flash}, $vars_wordlets_games{paint}, and $vars_wordlets_games{rocketman}.
These last 4 do not work when you click the links initially but by changing the name of the game files, you can make then work. However, I'm still stuck with the $vars_wordlets_games game names... Any ideas? Thanks in advance...
P.S. I looked in vars_wordlets_games.cgi but I'm not savvy enough to figure out what I need to change.
_________________________
-GATOR
"Pain is temporary, Pride is forever"
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202685 - 05/09/04 04:21 AM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
Member
Registered: 01/31/03
Posts: 118
|
OK, I opened vars_wordlets_games.cgi and this is what I have below. I tried to make a correlation between the games that worked, the file names, and what was showing on the games page. %vars_wordlets_games = ( q!crashdown! => q!Crashdown!, q!battleships! => q!Battleships!, q!flashman! => q!Flash Man!, q!smashing! => q!Smashing!, q!rocketmandemo! => q!Rocket Man!, q!sheepish! => q!Sheepish!, q!stressgame! => q~Stress Relief! Paintball~, q!rigelianhotshots! => q!Rigelian Hot Shots!, File names battleships.swf - *WORKING* bg1.swf *Displays as $vars_wordlets_games{rocketman}* crashdownwm.swf *Displays as $vars_wordlets_games{crash}* flashmanwm.swf *Displays as $vars_wordlets_games{flash}* rigelian_hotshots.swf - Displays correct name, but error "Sorry I can not find the game 'rigelianhotshots' you requested!" rocketmandemo.swf sheepish.swf - *WORKING* smashing.swf - *WORKING* stressgame.swf *Displays as $vars_wordlets_games{paint}* This would almost all seem to make sense about what to do except for Rigelian Hotshots where it's listed in the code as q!rigelianhotshots! => q!Rigelian Hot Shots! and diplays correctly but the file and/or link name is wrong. So what is it I do where? Just trying to understand so that I can one day move past these kinds of questions. Thanks again...
_________________________
-GATOR
"Pain is temporary, Pride is forever"
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202686 - 05/09/04 04:59 AM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
Moderator / Da Masta
Registered: 11/23/01
Posts: 2567
|
Ah... In that case, some of your Wordlets aren't matching. In other words, the script is looking for $vars_wordlets_games{rocketman}, but since $vars_wordlets_games{rocketman} doesn't exist in the Wordlets file (it's actually supposed to be $vars_wordlets_games{rocketmandemo}, which does exist) then it won't display as it should. Any clearer? If not, don't worry. This is what the part of vars_wordlets_games.cgi that you posted should look like: %vars_wordlets_games = (
q!crash! => q!Crashdown!,
q!battleships! => q!Battleships!,
q!flash! => q!Flash Man!,
q!smashing! => q!Smashing!,
q!rocketman! => q!Rocket Man!,
q!sheepish! => q!Sheepish!,
q!paint! => q~Stress Relief! Paintball~,
q!rigelianhotshots! => q!Rigelian Hot Shots!, 
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202696 - 07/31/04 07:06 PM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
Master Hacker
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
|
New Version 2.6.1 Fixes a bug that allowed guests to play even if you disabled that. Adds the ability to restrict access to members who have access to certain forums. You can choose multiple forums. To upgrade: Redo the "really big" step in ultimatebb.php Upload the new ubb_games.cgi Set the forums for which you want access permissions for in both ultimatebb.php and ubb_games.cgi. (This is explained in the files.) Leave the arrays empty to disable this feature. You can edit the new variable in ultimatebb.php to make it members-only // Set to 1 if you only wish logged in users to play games
$RequireUserLogin = 1;
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202699 - 08/02/04 04:08 PM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
Master Hacker
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202700 - 08/02/04 06:31 PM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
Member
Registered: 03/29/01
Posts: 148
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202719 - 09/24/05 12:33 PM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
Master Hacker
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202720 - 09/24/05 03:56 PM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
Journeyman
Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202722 - 09/24/05 04:11 PM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
Journeyman
Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
|
Its exactly how I copied it out of the files
%vars_wordlets_games = ( q!crashdown! => q!Crashdown!, q!battleships! => q!Battleships!, q!flashman! => q!Flash Man!, q!smashing! => q!Smashing!, q!rocketmandemo! => q!Rocket Man!, q!sheepish! => q!Sheepish!, q!stressgame! => q~Stress Relief! Paintball~, q!rigelianhotshots! => q!Rigelian Hot Shots!, q!games_games! => q!UBB.Games!, q!games_index! => q!Games index!, q!games_link! => q!games!, q!games_title! => q!Play some games.!, q!games_courtesy! => q!Games Courtesy of!, q!games_mod! => q!Games Mod!, q!choose! => q!<small><b>Select a game to play.</b></small>!, q!games_game! => q!Now Playing... !, q!back_games_index! => q!Back to Games index!,
);
1;
====
So I tried this and it still does not work
%vars_wordlets_games = ( q!crashdownwm! => q!Crashdown!, q!battleships! => q!Battleships!, q!flashmanwm! => q!Flash Man!, q!smashing! => q!Smashing!, q!rocketmandemo! => q!Rocket Man!, q!sheepish! => q!Sheepish!, q!stressgame! => q~Stress Relief! Paintball~, q!rigelian_hotshots! => q!Rigelian Hot Shots!, q!games_games! => q!UBB.Games!, q!games_index! => q!Games index!, q!games_link! => q!games!, q!games_title! => q!Play some games.!, q!games_courtesy! => q!Games Courtesy of!, q!games_mod! => q!Games Mod!, q!choose! => q!<small><b>Select a game to play.</b></small>!, q!games_game! => q!Now Playing... !, q!back_games_index! => q!Back to Games index!,
);
1;
Then I tried this..
%vars_wordlets_games = ( "crashdownwm" => "Crashdown", "battleships" => "Battleships", "flashmanwm" => "Flash Man", "smashing" => "Smashing", "rocketmandemo" => "Rocket Man", "sheepish" => "Sheepish", "stressgame" => "Stress Relief! Paintball", "rigelian_hotshots" => "Rigelian Hot Shots", q!games_games! => q!UBB.Games!, q!games_index! => q!Games index!, q!games_link! => q!games!, q!games_title! => q!Play some games.!, q!games_courtesy! => q!Games Courtesy of!, q!games_mod! => q!Games Mod!, q!choose! => q!<small><b>Select a game to play.</b></small>!, q!games_game! => q!Now Playing... !, q!back_games_index! => q!Back to Games index!,
);
1;
Still nothing
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202725 - 09/24/05 06:54 PM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
Journeyman
Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
|
Alright, I tried to change the games with something else I wanted. But for some reason on the page itself it just says canon or tetris, but in the var's file.. its the right names.. I really don't get it. quote:</font><hr />%vars_wordlets_games = ( q!cannonblast! => q!cannonblast!, q!Tetriswm! => q!Tetriswm!, q!battleships! => q!Battleships!, q!sheepish! => q!Sheepish!, q!games_games! => q!UBB.Games!, q!games_index! => q!Games index!, q!games_link! => q!games!, q!games_title! => q!Play some games.!, q!games_courtesy! => q!Games Courtesy of!, q!games_mod! => q!Games Mod!, q!choose! => q!<small><b>Select a game to play.</b></small>!, q!games_game! => q!Now Playing... !, q!back_games_index! => q!Back to Games index!,
);
1;<hr /></blockquote>on the page <blockquote><font class="small">quote: [qb] $vars_wordlets_games{cannon}
$vars_wordlets_games{tetris}[/qb]
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|